import request from '@/utils/request'

/* 河道外取水户计划用水管理台账 */
// 列表查询
const waterIntakeCustomersPlanUseWaterList = function (params = {}) {
  return request({
    url: '/zy-api/api/planedWater/findList',
    method: 'post',
    data: params
  })
}

// 新增
const addWaterIntakeCustomersPlanUseWater = function (params = {}) {
  return request({
    url: '/zy-api/api/planedWater/add',
    method: 'post',
    data: params
  })
}

// 修改
const editWaterIntakeCustomersPlanUseWater = function (params = {}) {
  return request({
    url: '/zy-api/api/planedWater/update',
    method: 'post',
    data: params
  })
}

// 删除
const delWaterIntakeCustomersPlanUseWater = function (params = {}) {
  return request({
    url: '/zy-api/api/planedWater/delete',
    method: 'post',
    data: params
  })
}

// 审核
const auditWaterIntakeCustomersPlanUseWater = function (params = {}) {
  return request({
    url: '/zy-api/api/planedWater/Review',
    method: 'post',
    data: params
  })
}

export {
  waterIntakeCustomersPlanUseWaterList,
  addWaterIntakeCustomersPlanUseWater,
  editWaterIntakeCustomersPlanUseWater,
  delWaterIntakeCustomersPlanUseWater,
  auditWaterIntakeCustomersPlanUseWater
}